package net.learn.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.learn.framework.common.dao.BaseDao;
import net.learn.system.entity.SysVideoDetailEntity;
import net.learn.system.entity.SysVideoEntity;
import net.learn.system.query.SysVideoQuery;
import net.learn.system.vo.SysVideoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 会员表 Mapper 接口
 * </p>
 *
 * @author 李立志
 * @since 2022-01-11
 */
@Mapper
public interface SysVideoDao extends BaseDao<SysVideoEntity> {

    IPage<SysVideoEntity> qryVideoListPage(IPage<SysVideoEntity> page, @Param("SysVideoQuery") SysVideoQuery qry);

    List<SysVideoVO> qryVideoList(@Param("SysVideoQuery") SysVideoQuery qry);

    void deleteById(@Param("SysVideoQuery") SysVideoQuery qry);
}
